package javatest3.ForWhileTest.test5;

public class method1 {
    public static void main(String[] args) {
        int f0=0,f1=1,f2=f0+f1;
        while (f2<12){
            f0=f1;
            f1=f2;
            f2=f0+f1;
        }
        System.out.println("f2 = " + f2);
    }
}
